package com.jdz.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RaceTypeSamsara {
    private Integer racetypesamsarano;

    private Integer racetypeno;

    private String racetypesamsaraname;

    private Integer racetypesamsaragrade;

    private Date creattime;

    @DateTimeFormat( pattern = "yyyy-MM-dd" )
    private Date ballotstarttime;

    @DateTimeFormat( pattern = "yyyy-MM-dd" )
    private Date ballotstoptime;

    private Integer ballotstatus;

    private Integer weight;

    private Date enrollstarttime;

    private Date enrollstoptime;

    private Integer status;

    public RaceTypeSamsara(Integer racetypesamsarano, Integer racetypeno, String racetypesamsaraname, Integer racetypesamsaragrade, Date creattime, Date ballotstarttime, Date ballotstoptime, Integer ballotstatus, Integer weight, Date enrollstarttime, Date enrollstoptime, Integer status) {
        this.racetypesamsarano = racetypesamsarano;
        this.racetypeno = racetypeno;
        this.racetypesamsaraname = racetypesamsaraname;
        this.racetypesamsaragrade = racetypesamsaragrade;
        this.creattime = creattime;
        this.ballotstarttime = ballotstarttime;
        this.ballotstoptime = ballotstoptime;
        this.ballotstatus = ballotstatus;
        this.weight = weight;
        this.enrollstarttime = enrollstarttime;
        this.enrollstoptime = enrollstoptime;
        this.status = status;
    }

    public RaceTypeSamsara() {
        super();
    }

    public Integer getRacetypesamsarano() {
        return racetypesamsarano;
    }

    public void setRacetypesamsarano(Integer racetypesamsarano) {
        this.racetypesamsarano = racetypesamsarano;
    }

    public Integer getRacetypeno() {
        return racetypeno;
    }

    public void setRacetypeno(Integer racetypeno) {
        this.racetypeno = racetypeno;
    }

    public String getRacetypesamsaraname() {
        return racetypesamsaraname;
    }

    public void setRacetypesamsaraname(String racetypesamsaraname) {
        this.racetypesamsaraname = racetypesamsaraname == null ? null : racetypesamsaraname.trim();
    }

    public Integer getRacetypesamsaragrade() {
        return racetypesamsaragrade;
    }

    public void setRacetypesamsaragrade(Integer racetypesamsaragrade) {
        this.racetypesamsaragrade = racetypesamsaragrade;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }

    public Date getBallotstarttime() {
        return ballotstarttime;
    }

    public void setBallotstarttime(Date ballotstarttime) {
        this.ballotstarttime = ballotstarttime;
    }

    public Date getBallotstoptime() {
        return ballotstoptime;
    }

    public void setBallotstoptime(Date ballotstoptime) {
        this.ballotstoptime = ballotstoptime;
    }

    public Integer getBallotstatus() {
        return ballotstatus;
    }

    public void setBallotstatus(Integer ballotstatus) {
        this.ballotstatus = ballotstatus;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Date getEnrollstarttime() {
        return enrollstarttime;
    }

    public void setEnrollstarttime(Date enrollstarttime) {
        this.enrollstarttime = enrollstarttime;
    }

    public Date getEnrollstoptime() {
        return enrollstoptime;
    }

    public void setEnrollstoptime(Date enrollstoptime) {
        this.enrollstoptime = enrollstoptime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}